<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <title>演员详情</title>
    <link href="https://cdn.bootcss.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet"/>
</head>
<body>
<div class="container">
    <h1 class="text-center">演员详情页面</h1>
    <div class="text" style="..."><a>学号：1604220538</a><br>姓名：袁建楠</br></div>

    <h3>角色列表</h3>
    <table class="table table-bordered">
        <thead>
        <tr>
            <th scope="col">#</th>
            <th>名字</th>
            <th>性别</th>
            <th>生日</th>
        </tr>
        </thead>
        <tbody>
        <tr th:each="actor,actorStat : ${info}">
            <td th:text="${actorStat.index + 1}"></td>
            <td th:text="${info.name}"></td>
            <td th:text="${info.sex}"></td>
            <td th:text="${info.born}? ${#dates.format(info.born,'yyyy-MM-dd')} :''"></td>
        </tr>
        </tbody>
    </table>
</div>
</body>
</html>